import { defineStore } from "pinia";

export const popupStore = defineStore("popup", {
    state: () => ({
        isVisible: false,
    }),
    actions: {
        showPopup() {
            this.isVisible = true;
        },
        hidePopup() {
            this.isVisible = false;
        },
    },
});
